Everything posted by DevTech
-
If Entity flies against Block, he should snow on it
No, I mean which method in the BlockState is with which I can make the layer higher
-
If Entity flies against Block, he should snow on it
and what method?
-
If Entity flies against Block, he should snow on it
How can you make the snow layer higher?
-
If Entity flies against Block, he should snow on it
If the entity flies against the block there should be snow on it and stumble if it flies again. Is that possible?
-
Changing Vanilla Loot Table is not working
Hello I have a problem I wanted to add some mod items to the Vanilla Chest Loot Tables, but if I spam some or find there are no mod items inside! When I spawne my loot table, all items are inside. Is something wrong with the code? The Path of the Json ist element:chests/simple_dungeon LootTable Event @SubscribeEvent public static void onLootLoad(LootTableLoadEvent event) { if (event.getName().equals(LootTables.CHESTS_JUNGLE_TEMPLE)) { event.getTable().addPool(LootPool.builder().addEntry(TableLootEntry.builder(new ResourceLocation("element","simple_dungeon"))).build()); } }
-
Add Items in Vanilla LootTables in 1.14
can someone help me :C
-
Add Items in Vanilla LootTables in 1.14
why it does not work :C
-
Add Items in Vanilla LootTables in 1.14
Have someone a solution?
-
Add Items in Vanilla LootTables in 1.14
I enter "/setblock ~ ~ ~ chest{LootTable:"minecraft:chests/simple_dungeon"}" and then only the normal Minecraft stuff is inside and mine is not
-
Add Items in Vanilla LootTables in 1.14
no errors found. If I take the loot table element:simple_dungeon then all mod items are inside, but if I take minecraft:simple_dungeon, there are no mod items inside
-
Add Items in Vanilla LootTables in 1.14
My mod items are not in the chest with the loot table "simple_dungeon"
-
Add Items in Vanilla LootTables in 1.14
but in the simple dungeon loot table chest havent my items :C @SubscribeEvent public static void onLootLoad(LootTableLoadEvent event) { if (event.getName().equals(new ResourceLocation("minecraft", "simple_dungeon"))) { event.getTable().addPool(LootPool.builder().addEntry(TableLootEntry.builder(new ResourceLocation("element","simple_dungeon"))).build()); } }
-
Add Items in Vanilla LootTables in 1.14
ok
-
Add Items in Vanilla LootTables in 1.14
[Server-Worker-12/ERROR] [net.minecraft.client.resources.JsonReloadListener/]: Couldn't parse data file element:chests/simple_dungeons from element:loot_tables/chests/simple_dungeons.json com.google.gson.JsonParseException: com.google.gson.stream.MalformedJsonException: Expected value at line 33 column 17 path $.pools[0].entries[0].functions[1].conditions[0].chance at net.minecraft.util.JSONUtils.fromJson(JSONUtils.java:359) ~[?:?] at net.minecraft.util.JSONUtils.fromJson(JSONUtils.java:398) ~[?:?] at net.minecraft.client.resources.JsonReloadListener.prepare(JsonReloadListener.java:51) ~[?:?] at net.minecraft.client.resources.JsonReloadListener.prepare(JsonReloadListener.java:22) ~[?:?] at net.minecraft.client.resources.ReloadListener.lambda$reload$0(ReloadListener.java:12) ~[?:?] at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1590) [?:1.8.0_221] at java.util.concurrent.CompletableFuture$AsyncSupply.exec(CompletableFuture.java:1582) [?:1.8.0_221] at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289) [?:1.8.0_221] at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1056) [?:1.8.0_221] at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1692) [?:1.8.0_221] at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:157) [?:1.8.0_221] Caused by: com.google.gson.stream.MalformedJsonException: Expected value at line 33 column 17 path $.pools[0].entries[0].functions[1].conditions[0].chance at com.google.gson.stream.JsonReader.syntaxError(JsonReader.java:1559) ~[gson-2.8.0.jar:?] at com.google.gson.stream.JsonReader.doPeek(JsonReader.java:590) ~[gson-2.8.0.jar:?] at com.google.gson.stream.JsonReader.peek(JsonReader.java:425) ~[gson-2.8.0.jar:?] at com.google.gson.internal.bind.TypeAdapters$29.read(TypeAdapters.java:716) ~[gson-2.8.0.jar:?] at com.google.gson.internal.bind.TypeAdapters$29.read(TypeAdapters.java:739) ~[gson-2.8.0.jar:?] at com.google.gson.internal.bind.TypeAdapters$29.read(TypeAdapters.java:731) ~[gson-2.8.0.jar:?] at com.google.gson.internal.bind.TypeAdapters$29.read(TypeAdapters.java:739) ~[gson-2.8.0.jar:?] at com.google.gson.internal.bind.TypeAdapters$29.read(TypeAdapters.java:731) ~[gson-2.8.0.jar:?] at com.google.gson.internal.bind.TypeAdapters$29.read(TypeAdapters.java:739) ~[gson-2.8.0.jar:?] at com.google.gson.internal.bind.TypeAdapters$29.read(TypeAdapters.java:731) ~[gson-2.8.0.jar:?] at com.google.gson.internal.bind.TypeAdapters$29.read(TypeAdapters.java:739) ~[gson-2.8.0.jar:?] at com.google.gson.internal.bind.TypeAdapters$29.read(TypeAdapters.java:731) ~[gson-2.8.0.jar:?] at com.google.gson.internal.bind.TypeAdapters$29.read(TypeAdapters.java:739) ~[gson-2.8.0.jar:?] at com.google.gson.internal.bind.TypeAdapters$29.read(TypeAdapters.java:714) ~[gson-2.8.0.jar:?] at com.google.gson.internal.bind.TypeAdapters$35$1.read(TypeAdapters.java:910) ~[gson-2.8.0.jar:?] at net.minecraft.util.JSONUtils.fromJson(JSONUtils.java:357) ~[?:?] ... 10 more
-
Add Items in Vanilla LootTables in 1.14
How can i add Mod items in a LootTable, when i it do then is nothing in the chest :C
-
Add Items in Vanilla LootTables in 1.14
This is my simple_dungeon.json: { "type": "minecraft:chest", "pools": [ { "rolls": { "min": 1.0, "max": 3.0, "type": "minecraft:uniform" }, "entries": [ { "type": "minecraft:item", "weight": 20, "name": "element:magicessence" }, { "type": "minecraft:item", "weight": 15, "name": "minecraft:golden_apple" }, { "type": "minecraft:item", "weight": 2, "name": "minecraft:enchanted_golden_apple" }, { "type": "minecraft:item", "weight": 15, "name": "minecraft:music_disc_13" }, { "type": "minecraft:item", "weight": 15, "name": "minecraft:music_disc_cat" }, { "type": "minecraft:item", "weight": 20, "name": "minecraft:name_tag" }, { "type": "minecraft:item", "weight": 10, "name": "minecraft:golden_horse_armor" }, { "type": "minecraft:item", "weight": 15, "name": "minecraft:iron_horse_armor" }, { "type": "minecraft:item", "weight": 5, "name": "minecraft:diamond_horse_armor" }, { "type": "minecraft:item", "weight": 10, "functions": [ { "function": "minecraft:enchant_randomly" } ], "name": "minecraft:book" } ] }, { "rolls": { "min": 1.0, "max": 4.0, "type": "minecraft:uniform" }, "entries": [ { "type": "minecraft:item", "weight": 10, "functions": [ { "function": "minecraft:set_count", "count": { "min": 1.0, "max": 4.0, "type": "minecraft:uniform" } } ], "name": "minecraft:iron_ingot" }, { "type": "minecraft:item", "weight": 5, "functions": [ { "function": "minecraft:set_count", "count": { "min": 1.0, "max": 4.0, "type": "minecraft:uniform" } } ], "name": "minecraft:gold_ingot" }, { "type": "minecraft:item", "weight": 20, "name": "minecraft:bread" }, { "type": "minecraft:item", "weight": 20, "functions": [ { "function": "minecraft:set_count", "count": { "min": 1.0, "max": 4.0, "type": "minecraft:uniform" } } ], "name": "minecraft:wheat" }, { "type": "minecraft:item", "weight": 10, "name": "minecraft:bucket" }, { "type": "minecraft:item", "weight": 15, "functions": [ { "function": "minecraft:set_count", "count": { "min": 1.0, "max": 4.0, "type": "minecraft:uniform" } } ], "name": "minecraft:redstone" }, { "type": "minecraft:item", "weight": 15, "functions": [ { "function": "minecraft:set_count", "count": { "min": 1.0, "max": 4.0, "type": "minecraft:uniform" } } ], "name": "minecraft:coal" }, { "type": "minecraft:item", "weight": 10, "functions": [ { "function": "minecraft:set_count", "count": { "min": 2.0, "max": 4.0, "type": "minecraft:uniform" } } ], "name": "minecraft:melon_seeds" }, { "type": "minecraft:item", "weight": 10, "functions": [ { "function": "minecraft:set_count", "count": { "min": 2.0, "max": 4.0, "type": "minecraft:uniform" } } ], "name": "minecraft:pumpkin_seeds" }, { "type": "minecraft:item", "weight": 10, "functions": [ { "function": "minecraft:set_count", "count": { "min": 2.0, "max": 4.0, "type": "minecraft:uniform" } } ], "name": "minecraft:beetroot_seeds" } ] }, { "rolls": 3, "entries": [ { "type": "minecraft:item", "weight": 10, "functions": [ { "function": "minecraft:set_count", "count": { "min": 1.0, "max": 8.0, "type": "minecraft:uniform" } } ], "name": "minecraft:bone" }, { "type": "minecraft:item", "weight": 10, "functions": [ { "function": "minecraft:set_count", "count": { "min": 1.0, "max": 8.0, "type": "minecraft:uniform" } } ], "name": "minecraft:gunpowder" }, { "type": "minecraft:item", "weight": 10, "functions": [ { "function": "minecraft:set_count", "count": { "min": 1.0, "max": 8.0, "type": "minecraft:uniform" } } ], "name": "minecraft:rotten_flesh" }, { "type": "minecraft:item", "weight": 10, "functions": [ { "function": "minecraft:set_count", "count": { "min": 1.0, "max": 8.0, "type": "minecraft:uniform" } } ], "name": "minecraft:string" } ] } ] }
-
[1.14.4] Custom Vanilla Block Drops
it does not work when I open a box there is not my item in side simple_dungeon.json { "type": "minecraft:chest", "pools": [ { "rolls": { "min": 1, "max": 9 }, "bonus_rolls": { "min": 0, "max": 2 }, "entries": [ { "type": "item", "name": "element:magicessence", "weight": 50, "functions": [ { "function": "set_data", "data": 0 }, { "function": "set_count", "count": { "min": 1, "max": 3 }, "conditions": [ { "condition": "random_chance", "chance": 0.301 } ] } ] }, { "type": "item", "name": "element:darkessense", "weight": 40, "functions": [ { "function": "set_data", "data": 1 }, { "function": "set_count", "count": { "min": 1, "max": 5 }, "conditions": [ { "condition": "random_chance", "chance": 0.331 } ] } ] }, { "type": "item", "name": "element:electrikessense", "weight": 40, "functions": [ { "function": "set_data", "data": 2 }, { "function": "set_count", "count": { "min": 1, "max": 5 }, "conditions": [ { "condition": "random_chance", "chance": 0.332 } ] } ] }, { "type": "item", "name": "element:fireessense", "weight": 40, "functions": [ { "function": "set_data", "data": 3 }, { "function": "set_count", "count": { "min": 1, "max": 5 }, "conditions": [ { "condition": "random_chance", "chance": 0.33399999999999996 } ] } ] }, { "type": "item", "name": "element:iceessense", "weight": 40, "functions": [ { "function": "set_data", "data": 4 }, { "function": "set_count", "count": { "min": 1, "max": 5 }, "conditions": [ { "condition": "random_chance", "chance": 0.335 } ] } ] }, { "type": "item", "name": "element:lifeessense", "weight": 40, "functions": [ { "function": "set_data", "data": 5 }, { "function": "set_count", "count": { "min": 1, "max": 5 }, "conditions": [ { "condition": "random_chance", "chance": 0.335 } ] } ] }, { "type": "item", "name": "element:poisonessense", "weight": 40, "functions": [ { "function": "set_data", "data": 6 }, { "function": "set_count", "count": { "min": 1, "max": 5 }, "conditions": [ { "condition": "random_chance", "chance": 0.335 } ] } ] }, { "type": "item", "name": "element:wateressense", "weight": 40, "functions": [ { "function": "set_count", "count": { "min": 1, "max": 5 }, "conditions": [ { "condition": "random_chance", "chance": 0.335 } ] } ] }, { "type": "item", "name": "element:windessense", "weight": 40, "functions": [ { "function": "set_data", "data": 0 }, { "function": "set_count", "count": { "min": 1, "max": 5 }, "conditions": [ { "condition": "random_chance", "chance": 0.335 } ] } ] } ] } ] }
-
Add Items in Vanilla LootTables in 1.14
i mean dungeon loot
-
Add Items in Vanilla LootTables in 1.14
Ey want to add Items in Vanilla Loottables
- Register Entities in Forge 1.14
-
Register Entities in Forge 1.14
and how i do it
-
Register Entities in Forge 1.14
@SubscribeEvent public static void registerModels(FMLClientSetupEvent event) { RenderingRegistry.registerEntityRenderingHandler(Vampire.class, render -> new SpriteRenderer(render, Minecraft.getInstance().getItemRenderer())); RenderingRegistry.registerEntityRenderingHandler(Heal.class, render -> new SpriteRenderer(render, Minecraft.getInstance().getItemRenderer())); RenderingRegistry.registerEntityRenderingHandler(Bubble.class, render -> new SpriteRenderer(render, Minecraft.getInstance().getItemRenderer())); } Here render i all entitys
-
Register Entities in Forge 1.14
its a ItemProjectile
-
Register Entities in Forge 1.14
i cant make a LivingEntityRenderer my entity isnt a Living Entity
-
Register Entities in Forge 1.14
i havent a renderer class
IPS spam blocked by CleanTalk.