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

@ -40,7 +40,7 @@ public class BlockSpreader extends BlockWithEntity {
@Override
public <T extends BlockEntity> BlockEntityTicker<T> getTicker(World world, BlockState state,
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));
}

View File

@ -64,7 +64,7 @@ public class BlockStackerDown extends BlockWithEntity implements BlockStacker {
@Override
public <T extends BlockEntity> BlockEntityTicker<T> getTicker(World world, BlockState state,
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));
}

View File

@ -64,7 +64,7 @@ public class BlockStackerEast extends BlockWithEntity implements BlockStacker {
@Override
public <T extends BlockEntity> BlockEntityTicker<T> getTicker(World world, BlockState state,
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));
}

View File

@ -64,7 +64,7 @@ public class BlockStackerNorth extends BlockWithEntity implements BlockStacker {
@Override
public <T extends BlockEntity> BlockEntityTicker<T> getTicker(World world, BlockState state,
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));
}

View File

@ -64,7 +64,7 @@ public class BlockStackerSouth extends BlockWithEntity implements BlockStacker {
@Override
public <T extends BlockEntity> BlockEntityTicker<T> getTicker(World world, BlockState state,
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));
}

View File

@ -64,7 +64,7 @@ public class BlockStackerUp extends BlockWithEntity implements BlockStacker {
@Override
public <T extends BlockEntity> BlockEntityTicker<T> getTicker(World world, BlockState state,
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));
}

View File

@ -64,7 +64,7 @@ public class BlockStackerWest extends BlockWithEntity implements BlockStacker {
@Override
public <T extends BlockEntity> BlockEntityTicker<T> getTicker(World world, BlockState state,
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));
}

View File

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

View File

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

View File

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