aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErnieBernie10 <30663198+ErnieBernie10@users.noreply.github.com>2020-01-29 12:52:03 +0200
committerJuuxel <6596629+Juuxel@users.noreply.github.com>2020-01-29 12:52:03 +0200
commit75a68c542956e168b66f4024f4c73eb0360fc455 (patch)
treeb4c32fdf9381af4c25895b530a19a72304dea5c4
parent4127f58f05488037a590fd29b38bdf654e02a7d5 (diff)
downloadLibGui-75a68c542956e168b66f4024f4c73eb0360fc455.tar.gz
LibGui-75a68c542956e168b66f4024f4c73eb0360fc455.tar.bz2
LibGui-75a68c542956e168b66f4024f4c73eb0360fc455.zip
Fixed GuiTest
-rw-r--r--GuiTest/gradle.properties12
-rw-r--r--GuiTest/src/main/java/io/github/cottonmc/test/LibGuiTest.java2
2 files changed, 7 insertions, 7 deletions
diff --git a/GuiTest/gradle.properties b/GuiTest/gradle.properties
index fef99be..1ef1e05 100644
--- a/GuiTest/gradle.properties
+++ b/GuiTest/gradle.properties
@@ -3,15 +3,15 @@ org.gradle.jvmargs=-Xmx1G
# Fabric Properties
# check these on https://fabricmc.net/use
- minecraft_version=19w42a
- yarn_mappings=19w42a+build.1
- loader_version=0.6.3+build.167
+ minecraft_version=1.15.2
+ yarn_mappings=1.15.2+build.2
+ loader_version=0.7.5+build.178
# Mod Properties
- mod_version = 1.3.3-beta.7
+ mod_version = 1.5.1
maven_group = io.github.cottonmc
archives_base_name = LibGui
# Dependencies
- fabric_version=0.4.8+build.255-1.15
- jankson_version=2.0.0+j1.2.0
+ fabric_version=0.4.29+build.290-1.15
+ jankson_version=2.0.1+j1.2.0
diff --git a/GuiTest/src/main/java/io/github/cottonmc/test/LibGuiTest.java b/GuiTest/src/main/java/io/github/cottonmc/test/LibGuiTest.java
index 99c5b07..32d359d 100644
--- a/GuiTest/src/main/java/io/github/cottonmc/test/LibGuiTest.java
+++ b/GuiTest/src/main/java/io/github/cottonmc/test/LibGuiTest.java
@@ -34,7 +34,7 @@ public class LibGuiTest implements ModInitializer {
GUI_BLOCK_ITEM = new BlockItem(GUI_BLOCK, new Item.Settings().group(ItemGroup.MISC));
Registry.register(Registry.ITEM, new Identifier(MODID, "gui"), GUI_BLOCK_ITEM);
GUI_BLOCKENTITY_TYPE = BlockEntityType.Builder.create(GuiBlockEntity::new, GUI_BLOCK).build(null);
- Registry.register(Registry.BLOCK_ENTITY, new Identifier(MODID, "gui"), GUI_BLOCKENTITY_TYPE);
+ Registry.register(Registry.BLOCK_ENTITY_TYPE, new Identifier(MODID, "gui"), GUI_BLOCKENTITY_TYPE);
ContainerProviderRegistry.INSTANCE.registerFactory(new Identifier(MODID, "gui"), (int syncId, Identifier identifier, PlayerEntity player, PacketByteBuf buf)->{