Jump to content
Search In
  • More options...
Find results that contain...
Find results in...


  • Posts

  • Joined

  • Last visited

Everything posted by NeonEILFYT

  1. { "type": "minecraft:block", "pools": [ { "rolls": 1, "entries": [ { "type": "minecraft:item", "functions": [ { "function": "minecraft:copy_nbt", "source": "block_entity", "ops": [ { "source": "lava_level", "target": "lava_level", "op": "replace" } ] } ], "name": "starwars:iron_forge" } ] } ] } the block has an int nbt tag called lava_level, this is the blocks class https://github.com/EILFYT/StarWarsMinecraftMod-1.16.5/blob/main/src/main/java/com/eilfyt/starwarsinminecraft/blocks/IronForge.java
  2. i want to make it spawn one of my custom mobs next to each end crystal in the end
  3. @SubscribeEvent public static void worldLoad(WorldEvent.Load e) { World world = (World) e.getWorld(); List<Entity> entityList = world.getEntities(null, new AxisAlignedBB(0, 0, 0, 500, 250, 500)); StarWarsInMinecraft.LOGGER.log(Level.DEBUG, entityList); for (Entity entity : entityList) { if (entity instanceof EnderCrystalEntity) { DragonArcherEntity dragonarcherentity = ModEntityTypes.DRAGON_ARCHER.get().create(world); dragonarcherentity.moveTo(entity.getX() - 1, entity.getY(), entity.getZ()); world.addFreshEntity(dragonarcherentity); } } } how do i make it wait for the entitys to load in the world before running the code?
  4. can anyone help with this ive been working on it for a while
  5. im trying to create a new type of shield but everything works except the texture in first person https://github.com/EILFYT/StarWarsMinecraftMod-1.16.5/blob/main/src/main/java/com/eilfyt/starwarsinminecraft/items/Lightsaber.java thats the class https://github.com/EILFYT/StarWarsMinecraftMod-1.16.5/blob/main/src/main/resources/assets/starwars/models/item/blue_lightsaber.json thats the item model json https://github.com/EILFYT/StarWarsMinecraftMod-1.16.5/blob/main/src/main/resources/assets/starwars/models/item/blue_lightsaber_blocking.json and thats the item blocking json can anyone help? also do i need to add anything to my main class, and if so, what is it? thanks in advance. (this is in 1.16.5 btw)
  6. wait is there anything wrong with this? https://gist.github.com/EILFYT/65514e8c07ffb7320d11935d1c2b7c56
  7. my bow pulling animation type thing wont show up when i pull back with it to shoot. can anyone see any issues in here? this is the dragon_soul_bow.json https://gist.github.com/EILFYT/215cdf6e04f9b4cefc2ed49cf087222a this is the dragon_soul_bow_pulling_0.json https://gist.github.com/EILFYT/2ce35e99f4e6e4c668cfc27d4add1626 this is the dragon_soul_bow_pulling_1.json https://gist.github.com/EILFYT/d1d1e39a30374d49a2a34f5f3fd2057f this is the dragon_soul_bow_pulling_2.json https://gist.github.com/EILFYT/2fcf115b0e7577bfa7ed86f84989f96e this is the DragonBow class https://gist.github.com/EILFYT/5d8ef1d239e97f5ce07933326a012c7e and this is the few lines of code in the Main Class that register the pull and pulling things https://gist.github.com/EILFYT/65514e8c07ffb7320d11935d1c2b7c56 everything with the bow works except the animation thing. does anyone see any issues in this? its probably just one of my stupid mistakes again. any help would be greatly appreciated. thanks in advance.
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.