version 1.20.2.0

This commit is contained in:
Jottyfan 2023-09-22 21:42:29 +02:00
parent 829fa5bc52
commit a1a521adbb
11 changed files with 17 additions and 17 deletions

View File

@ -4,17 +4,17 @@
# Fabric Properties # Fabric Properties
# check these on https://fabricmc.net/versions.html # check these on https://fabricmc.net/versions.html
minecraft_version=1.20.1 minecraft_version=1.20.2
yarn_mappings=1.20.1+build.9 yarn_mappings=1.20.2+build.1
loader_version=0.14.21 loader_version=0.14.22
# Mod Properties # Mod Properties
mod_version = 1.20.1.5 mod_version = 1.20.2.0
maven_group = de.jottyfan.minecraft maven_group = de.jottyfan.minecraft
archives_base_name = quickiefabric archives_base_name = quickiefabric
# Dependencies # Dependencies
fabric_version=0.84.0+1.20.1 fabric_version=0.89.1+1.20.2
# for ExtendedLeavesBlock # for ExtendedLeavesBlock
terraform_wood_api_version=7.0.1 terraform_wood_api_version=7.0.1

View File

@ -40,7 +40,7 @@ public class BlockSpreader extends BlockWithEntity {
@Override @Override
public <T extends BlockEntity> BlockEntityTicker<T> getTicker(World world, BlockState state, public <T extends BlockEntity> BlockEntityTicker<T> getTicker(World world, BlockState state,
BlockEntityType<T> type) { BlockEntityType<T> type) {
return checkType(type, QuickieFabricBlockEntity.BLOCKSPREADER_ENTITY, return validateTicker(type, QuickieFabricBlockEntity.BLOCKSPREADER_ENTITY,
(world1, pos, state1, be) -> BlockSpreaderEntity.tick(world1, pos, state1, be)); (world1, pos, state1, be) -> BlockSpreaderEntity.tick(world1, pos, state1, be));
} }

View File

@ -64,7 +64,7 @@ public class BlockStackerDown extends BlockWithEntity implements BlockStacker {
@Override @Override
public <T extends BlockEntity> BlockEntityTicker<T> getTicker(World world, BlockState state, public <T extends BlockEntity> BlockEntityTicker<T> getTicker(World world, BlockState state,
BlockEntityType<T> type) { BlockEntityType<T> type) {
return checkType(type, QuickieFabricBlockEntity.BLOCKSTACKER_ENTITY, return validateTicker(type, QuickieFabricBlockEntity.BLOCKSTACKER_ENTITY,
(world1, pos, state1, be) -> BlockStackerEntity.tick(world1, pos, state1, be)); (world1, pos, state1, be) -> BlockStackerEntity.tick(world1, pos, state1, be));
} }

View File

@ -64,7 +64,7 @@ public class BlockStackerEast extends BlockWithEntity implements BlockStacker {
@Override @Override
public <T extends BlockEntity> BlockEntityTicker<T> getTicker(World world, BlockState state, public <T extends BlockEntity> BlockEntityTicker<T> getTicker(World world, BlockState state,
BlockEntityType<T> type) { BlockEntityType<T> type) {
return checkType(type, QuickieFabricBlockEntity.BLOCKSTACKER_ENTITY, return validateTicker(type, QuickieFabricBlockEntity.BLOCKSTACKER_ENTITY,
(world1, pos, state1, be) -> BlockStackerEntity.tick(world1, pos, state1, be)); (world1, pos, state1, be) -> BlockStackerEntity.tick(world1, pos, state1, be));
} }

View File

@ -64,7 +64,7 @@ public class BlockStackerNorth extends BlockWithEntity implements BlockStacker {
@Override @Override
public <T extends BlockEntity> BlockEntityTicker<T> getTicker(World world, BlockState state, public <T extends BlockEntity> BlockEntityTicker<T> getTicker(World world, BlockState state,
BlockEntityType<T> type) { BlockEntityType<T> type) {
return checkType(type, QuickieFabricBlockEntity.BLOCKSTACKER_ENTITY, return validateTicker(type, QuickieFabricBlockEntity.BLOCKSTACKER_ENTITY,
(world1, pos, state1, be) -> BlockStackerEntity.tick(world1, pos, state1, be)); (world1, pos, state1, be) -> BlockStackerEntity.tick(world1, pos, state1, be));
} }

View File

@ -64,7 +64,7 @@ public class BlockStackerSouth extends BlockWithEntity implements BlockStacker {
@Override @Override
public <T extends BlockEntity> BlockEntityTicker<T> getTicker(World world, BlockState state, public <T extends BlockEntity> BlockEntityTicker<T> getTicker(World world, BlockState state,
BlockEntityType<T> type) { BlockEntityType<T> type) {
return checkType(type, QuickieFabricBlockEntity.BLOCKSTACKER_ENTITY, return validateTicker(type, QuickieFabricBlockEntity.BLOCKSTACKER_ENTITY,
(world1, pos, state1, be) -> BlockStackerEntity.tick(world1, pos, state1, be)); (world1, pos, state1, be) -> BlockStackerEntity.tick(world1, pos, state1, be));
} }

View File

@ -64,7 +64,7 @@ public class BlockStackerUp extends BlockWithEntity implements BlockStacker {
@Override @Override
public <T extends BlockEntity> BlockEntityTicker<T> getTicker(World world, BlockState state, public <T extends BlockEntity> BlockEntityTicker<T> getTicker(World world, BlockState state,
BlockEntityType<T> type) { BlockEntityType<T> type) {
return checkType(type, QuickieFabricBlockEntity.BLOCKSTACKER_ENTITY, return validateTicker(type, QuickieFabricBlockEntity.BLOCKSTACKER_ENTITY,
(world1, pos, state1, be) -> BlockStackerEntity.tick(world1, pos, state1, be)); (world1, pos, state1, be) -> BlockStackerEntity.tick(world1, pos, state1, be));
} }

View File

@ -64,7 +64,7 @@ public class BlockStackerWest extends BlockWithEntity implements BlockStacker {
@Override @Override
public <T extends BlockEntity> BlockEntityTicker<T> getTicker(World world, BlockState state, public <T extends BlockEntity> BlockEntityTicker<T> getTicker(World world, BlockState state,
BlockEntityType<T> type) { BlockEntityType<T> type) {
return checkType(type, QuickieFabricBlockEntity.BLOCKSTACKER_ENTITY, return validateTicker(type, QuickieFabricBlockEntity.BLOCKSTACKER_ENTITY,
(world1, pos, state1, be) -> BlockStackerEntity.tick(world1, pos, state1, be)); (world1, pos, state1, be) -> BlockStackerEntity.tick(world1, pos, state1, be));
} }

View File

@ -45,7 +45,7 @@ public class BackpackScreen extends HandledScreen<BackpackScreenHandler>
@Override @Override
public void render(DrawContext drawContext, int mouseX, int mouseY, float partialTicks) { public void render(DrawContext drawContext, int mouseX, int mouseY, float partialTicks) {
this.renderBackground(drawContext); this.renderInGameBackground(drawContext);
super.render(drawContext, mouseX, mouseY, partialTicks); super.render(drawContext, mouseX, mouseY, partialTicks);
this.drawMouseoverTooltip(drawContext, mouseX, mouseY); this.drawMouseoverTooltip(drawContext, mouseX, mouseY);
} }

View File

@ -33,7 +33,7 @@ public class BlockStackerScreen extends HandledScreen<BlockStackerScreenHandler>
@Override @Override
public void render(DrawContext drawContext, int mouseX, int mouseY, float partialTicks) { public void render(DrawContext drawContext, int mouseX, int mouseY, float partialTicks) {
this.renderBackground(drawContext); this.renderInGameBackground(drawContext);
super.render(drawContext, mouseX, mouseY, partialTicks); super.render(drawContext, mouseX, mouseY, partialTicks);
this.drawMouseoverTooltip(drawContext, mouseX, mouseY); this.drawMouseoverTooltip(drawContext, mouseX, mouseY);
} }
@ -43,7 +43,7 @@ public class BlockStackerScreen extends HandledScreen<BlockStackerScreenHandler>
// context.setShaderColor(1.0F, 1.0F, 1.0F, 1.0F); // context.setShaderColor(1.0F, 1.0F, 1.0F, 1.0F);
int guiX = (this.width - this.containerWidth) / 2; int guiX = (this.width - this.containerWidth) / 2;
int guiY = (this.height - this.containerHeight) / 2; int guiY = (this.height - this.containerHeight) / 2;
super.renderBackground(context); super.renderInGameBackground(context);
context.drawTexture(TEXTURE, guiX, guiY, 0, 0, containerWidth, containerHeight); context.drawTexture(TEXTURE, guiX, guiY, 0, 0, containerWidth, containerHeight);
} }
} }

View File

@ -26,9 +26,9 @@
"quickiefabric.mixins.json" "quickiefabric.mixins.json"
], ],
"depends": { "depends": {
"fabricloader": ">=0.14.21", "fabricloader": ">=0.14.22",
"fabric": "*", "fabric": "*",
"minecraft": "1.20.1", "minecraft": "1.20.2",
"java": ">=17" "java": ">=17"
}, },
"suggests": { "suggests": {