Jump to content
  • Home
  • Files
  • Docs
Status Updates
  • All Content

  • Advanced Search
  • Existing user? Sign In  

    Sign In



    • Not recommended on shared computers


    • Forgot your password?

  • Sign Up
  • All Activity
  • Home
  • DeaSTl

DeaSTl

Members
 View Profile  See their activity
  • Content Count

    14
  • Joined

    January 10, 2017
  • Last visited

    October 16, 2019

Community Reputation

1 Neutral

About DeaSTl

  • Rank
    Tree Puncher

Converted

  • Gender
    Male
  • Personal Text
    I'm a noob to forge but I've been using java since 2014.
  1. DeaSTl started following diesieben07 August 7, 2019
  2. DeaSTl

    Trying to load custom model on a extended tnt block.

    DeaSTl replied to DeaSTl's topic in Modder Support

    Actually, I think you should add elephants to the game and make it so that they can get into boats.
    • August 7, 2019
    • 10 replies
      • 1
      • Haha
  3. DeaSTl

    Trying to load custom model on a extended tnt block.

    DeaSTl replied to DeaSTl's topic in Modder Support

    You know, that's a good point now that you say that.
    • August 7, 2019
    • 10 replies
  4. DeaSTl

    Trying to load custom model on a extended tnt block.

    DeaSTl replied to DeaSTl's topic in Modder Support

    I've just been going off what I've seen in other people's source code.
    • August 7, 2019
    • 10 replies
  5. DeaSTl

    Trying to load custom model on a extended tnt block.

    DeaSTl replied to DeaSTl's topic in Modder Support

    @SideOnly(Side.CLIENT) public class RenderStupidTNT extends RenderTNTPrimed { public static final IRenderFactory<EntityStupidTNT> FACTORY = new Factory(); public static final ResourceLocation texture = new ResourceLocation("eib:stupid_tnt"); public RenderStupidTNT(RenderManager renderManagerIn) { super(renderManagerIn); } private static class Factory implements IRenderFactory<EntityStupidTNT> { @Override public Render<? super EntityStupidTNT> createRenderFor(RenderManager manager) { return new RenderStupidTNT(manager); } } @Override protected ResourceLocation getEntityTexture(EntityTNTPrimed entity) { return texture; } } This is my Render class
    • August 7, 2019
    • 10 replies
  6. DeaSTl

    Trying to load custom model on a extended tnt block.

    DeaSTl replied to DeaSTl's topic in Modder Support

    Okay, I setup the Renderer that extends RenderTNTPrimed but it still seems to be spawning the tnt but I see a part in RenderTNTPrimed.java line 43 this.bindEntityTexture(entity); So that makes be believe that it's trying extract the texture some how.
    • August 7, 2019
    • 10 replies
  7. DeaSTl started following Custom TNT block doesn't work when on a server 1.12.2 and Trying to load custom model on a extended tnt block. August 7, 2019
  8. DeaSTl

    Trying to load custom model on a extended tnt block.

    DeaSTl posted a topic in Modder Support

    https://github.com/DeaSTL/EverythingIsBad I'm not getting any errors in the console and I'm pretty sure I setup the entity and registered it correctly. If you have any idea what could be the issue then please reply below.
    • August 7, 2019
    • 10 replies
  9. DeaSTl

    Custom TNT block doesn't work when on a server 1.12.2

    DeaSTl replied to DeaSTl's topic in Modder Support

    Thank, you so much, I think it works now. But i'm just wondering why setVelocity is client side only.
    • August 7, 2019
    • 5 replies
  10. DeaSTl

    Custom TNT block doesn't work when on a server 1.12.2

    DeaSTl replied to DeaSTl's topic in Modder Support

    So do I need to make a custom entity for this block when it explodes. Also when I did try to make a entity that extends EntityTNTPrimed, I was confused on weather I need to register a custom entity or if it's just registered when it's spawned. there is a class in com.dna.everythingisbad.entity
    • August 6, 2019
    • 5 replies
  11. DeaSTl

    Custom TNT block doesn't work when on a server 1.12.2

    DeaSTl posted a topic in Modder Support

    java.util.concurrent.ExecutionException: net.minecraft.util.ReportedException: Exception while updating neighbours at java.util.concurrent.FutureTask.report(FutureTask.java:122) ~[?:1.8.0_191] at java.util.concurrent.FutureTask.get(FutureTask.java:192) ~[?:1.8.0_191] at net.minecraft.util.Util.runTask(Util.java:54) [Util.class:?] at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:798) [MinecraftServer.class:?] at net.minecraft.server.dedicated.DedicatedServer.updateTimeLightAndEntities(DedicatedServer.java:415) [DedicatedServer.class:?] at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:743) [MinecraftServer.class:?] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:592) [MinecraftServer.class:?] at java.lang.Thread.run(Thread.java:748) [?:1.8.0_191] Caused by: net.minecraft.util.ReportedException: Exception while updating neighbours at net.minecraft.world.World.neighborChanged(World.java:647) ~[World.class:?] at net.minecraft.world.World.notifyNeighborsOfStateChange(World.java:567) ~[World.class:?] at net.minecraft.world.World.notifyNeighborsRespectDebug(World.java:507) ~[World.class:?] at net.minecraft.world.World.markAndNotifyBlock(World.java:439) ~[World.class:?] at net.minecraftforge.common.ForgeHooks.onPlaceItemIntoWorld(ForgeHooks.java:941) ~[ForgeHooks.class:?] at net.minecraft.item.ItemStack.onItemUse(ItemStack.java:200) ~[ItemStack.class:?] at net.minecraft.server.management.PlayerInteractionManager.processRightClickBlock(PlayerInteractionManager.java:507) ~[PlayerInteractionManager.class:?] at net.minecraft.network.NetHandlerPlayServer.processTryUseItemOnBlock(NetHandlerPlayServer.java:769) ~[NetHandlerPlayServer.class:?] at net.minecraft.network.play.client.CPacketPlayerTryUseItemOnBlock.processPacket(CPacketPlayerTryUseItemOnBlock.java:68) ~[CPacketPlayerTryUseItemOnBlock.class:?] at net.minecraft.network.play.client.CPacketPlayerTryUseItemOnBlock.processPacket(CPacketPlayerTryUseItemOnBlock.java:13) ~[CPacketPlayerTryUseItemOnBlock.class:?] at net.minecraft.network.PacketThreadUtil$1.run(PacketThreadUtil.java:21) ~[PacketThreadUtil$1.class:?] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) ~[?:1.8.0_191] at java.util.concurrent.FutureTask.run(FutureTask.java:266) ~[?:1.8.0_191] at net.minecraft.util.Util.runTask(Util.java:53) ~[Util.class:?] ... 5 more Caused by: java.lang.NoSuchMethodError: net.minecraft.entity.item.EntityTNTPrimed.setVelocity(DDD)V at com.dna.everythingisbad.block.BlockStupidTNT.explode(BlockStupidTNT.java:99) ~[BlockStupidTNT.class:?] at net.minecraft.block.BlockTNT.onBlockDestroyedByPlayer(BlockTNT.java:82) ~[BlockTNT.class:?] at net.minecraft.block.BlockTNT.neighborChanged(BlockTNT.java:59) ~[BlockTNT.class:?] at net.minecraft.block.state.BlockStateContainer$StateImplementation.neighborChanged(BlockStateContainer.java:508) ~[BlockStateContainer$StateImplementation.class:?] at net.minecraft.world.World.neighborChanged(World.java:626) ~[World.class:?] at net.minecraft.world.World.notifyNeighborsOfStateChange(World.java:567) ~[World.class:?] at net.minecraft.world.World.notifyNeighborsRespectDebug(World.java:507) ~[World.class:?] at net.minecraft.world.World.markAndNotifyBlock(World.java:439) ~[World.class:?] at net.minecraftforge.common.ForgeHooks.onPlaceItemIntoWorld(ForgeHooks.java:941) ~[ForgeHooks.class:?] at net.minecraft.item.ItemStack.onItemUse(ItemStack.java:200) ~[ItemStack.class:?] at net.minecraft.server.management.PlayerInteractionManager.processRightClickBlock(PlayerInteractionManager.java:507) ~[PlayerInteractionManager.class:?] at net.minecraft.network.NetHandlerPlayServer.processTryUseItemOnBlock(NetHandlerPlayServer.java:769) ~[NetHandlerPlayServer.class:?] at net.minecraft.network.play.client.CPacketPlayerTryUseItemOnBlock.processPacket(CPacketPlayerTryUseItemOnBlock.java:68) ~[CPacketPlayerTryUseItemOnBlock.class:?] at net.minecraft.network.play.client.CPacketPlayerTryUseItemOnBlock.processPacket(CPacketPlayerTryUseItemOnBlock.java:13) ~[CPacketPlayerTryUseItemOnBlock.class:?] at net.minecraft.network.PacketThreadUtil$1.run(PacketThreadUtil.java:21) ~[PacketThreadUtil$1.class:?] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) ~[?:1.8.0_191] at java.util.concurrent.FutureTask.run(FutureTask.java:266) ~[?:1.8.0_191] at net.minecraft.util.Util.runTask(Util.java:53) ~[Util.class:?] ... 5 more I'm relatively new to forge 1.12 and sort of new to minecraft modding in general. I wanted to make this mod so I could figure out how it all works. I'm having trouble figuring out why it throws a NoSuchMethod Exception. Does the server even keep track of ticking entities? Here is the full project https://github.com/DeaSTL/EverythingIsBad
    • August 6, 2019
    • 5 replies
  12. DeaSTl

    Is there a way to convert type 'ItemStack' to type 'Entity'

    DeaSTl replied to DeaSTl's topic in Modder Support

    Thank you
    • January 13, 2017
    • 2 replies
  13. DeaSTl

    Is there a way to convert type 'ItemStack' to type 'Entity'

    DeaSTl posted a topic in Modder Support

    @Override public Item getItemDropped(int p_149650_1_, Random p_149650_2_, int p_149650_3_) { ItemStack DenseIronSword = new ItemStack(SwordModMain.DenseIronSword); DenseIronSword.addEnchantment(Enchantment.sharpness, 3); worldObj.spawnEntityInWorld(DenseIronSword) return null; }
    • January 13, 2017
    • 2 replies
  14. DeaSTl

    How would a convert this ItemStack to a Item so I can pass it through this

    DeaSTl replied to DeaSTl's topic in Modder Support

    the problem with that is it looses it's enchantment http://prntscr.com/dv0var
    • January 13, 2017
    • 3 replies
  15. DeaSTl

    How would a convert this ItemStack to a Item so I can pass it through this

    DeaSTl posted a topic in Modder Support

    @Override public Item getItemDropped(int p_149650_1_, Random p_149650_2_, int p_149650_3_) { ItemStack DenseIronSword = new ItemStack(SwordModMain.DenseIronSword); DenseIronSword.addEnchantment(Enchantment.sharpness, 3); return DenseIronSword; } This is in a block class
    • January 13, 2017
    • 3 replies
  16. DeaSTl

    I need some help with the World.createExplosion Method

    DeaSTl posted a topic in Modder Support

    @SubscribeEvent(priority = EventPriority.NORMAL) public void OnPlayerPickUpItem(EntityItemPickupEvent e){ System.out.println("You have picked up an item"); World.createExplosion(e.item, e.item.lastTickPosX,e.item.lastTickPosY,e.item.lastTickPosZ, 4.5F, true); }
    • January 10, 2017
    • 1 reply
  • All Activity
  • Home
  • DeaSTl
  • Theme

Copyright © 2019 ForgeDevelopment LLC · Ads by Longitude Ads LLC Powered by Invision Community