mirror of
https://github.com/GTNewHorizons/ForestryMC.git
synced 2026-11-20 12:09:39 +00:00
Update Forge to Recommended Build
This commit is contained in:
1 parent
39290512cf
commit
ddf90f4ee0
4 files changed
+4
-14
No files matched your search
@@ -35,18 +35,8 @@ public class ForestryGuiConfigFactory implements IModGuiFactory {
|
||||
return new ForestryGuiConfig(parentScreen);
|
||||
}
|
||||
|
||||
@Override
|
||||
public Class<? extends GuiScreen> mainConfigGuiClass() {
|
||||
return ForestryGuiConfig.class;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Set<RuntimeOptionCategoryElement> runtimeGuiCategories() {
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
public RuntimeOptionGuiHandler getHandlerFor(RuntimeOptionCategoryElement element) {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
@@ -28,7 +28,7 @@ public class ItemFertilizer extends ItemForestry {
|
||||
return EnumActionResult.FAIL;
|
||||
}
|
||||
|
||||
if (ItemDye.applyBonemeal(heldItem, worldIn, pos, player)) {
|
||||
if (ItemDye.applyBonemeal(heldItem, worldIn, pos, player, hand)) {
|
||||
if (!worldIn.isRemote) {
|
||||
worldIn.playEvent(2005, pos, 0);
|
||||
}
|
||||
|
||||
@@ -59,7 +59,7 @@ public class TextureMapForestry extends TextureMap {
|
||||
IResource iresource = null;
|
||||
|
||||
if (textureatlassprite.hasCustomLoader(resourceManager, resourcelocation)) {
|
||||
if (textureatlassprite.load(resourceManager, resourcelocation)) {
|
||||
if (textureatlassprite.load(resourceManager, resourcelocation, l -> mapRegisteredSprites.get(l.toString()))) {
|
||||
continue;
|
||||
}
|
||||
} else
|
||||
|
||||
Reference in new issue
Block a user