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

ss7

Forge Modder
  • Posts

    189
  • Joined

  • Last visited

Converted

  • Gender
    Male
  • Location
    Germany
  • Personal Text
    Medusalix

ss7's Achievements

Creeper Killer

Creeper Killer (4/8)

9

Reputation

  1. Honestly, I don't even know what you are talking about
  2. I'm using the code from EE3 in 1.8 and it's working perfectly. I think nothing has changed from 1.7 to 1.8. This tutorial from coolAlias is also very helpful: http://www.minecraftforum.net/forums/mapping-and-modding/mapping-and-modding-tutorials/1571597-forge-1-6-4-1-8-custom-inventories-in-items-and
  3. Excellent open-source mod: https://github.com/pahimar/Equivalent-Exchange-3
  4. Thank you very much guys! At first, I tried overriding the getActualState method, but for some reason my BakedModel wasn't rendering anymore. So I tried herbix' solution, and it worked like a charm! Thank you very much again and this thread is now SOLVED
  5. Hello, Is it possible to get an instance of my TileEntity from the IBlockState , which is passed to the handleBlockState function of ISmartBlockModel ? Basically, I need to render a block based on the data from my TileEntity . My first idea was to use a TileEntitySpecialRenderer , but that was too inefficient for my case of rendering. Then I found the excellent tutorial from @herbix, that explained the use of the new IBakedModel in 1.8. Unfortunately, it seems that you can only use the block state from a block in the handleBlockState method. But I need to store more than 4 bits in my block. I hope you can help me ss7
  6. Wow, you were absolutely right . I just had to declare the 2 properties as static and now it works like a charm . Thank you very much!
  7. Hello, I keep getting a NPE when I create a ExtendedBlockState like this: public IUnlistedProperty<Integer> unlistedProperty = new IUnlistedProperty<Integer>() { @Override public String getName() { return "test"; } @Override public boolean isValid(Integer value) { return true; } @Override public Class<Integer> getType() { return Integer.class; } @Override public String valueToString(Integer value) { return value.toString(); } }; private PropertyBool property = PropertyBool.create("test2"); new ExtendedBlockState(this, new IProperty[]{property}, new IUnlistedProperty[]{unlistedProperty}); The stacktrace looks like this: Caused by: java.lang.NullPointerException: null key in entry: null=Optional.absent() at com.google.common.collect.CollectPreconditions.checkEntryNotNull(CollectPreconditions.java:31) at com.google.common.collect.ImmutableMap.entryOf(ImmutableMap.java:135) at com.google.common.collect.ImmutableMap$Builder.put(ImmutableMap.java:206) at net.minecraftforge.common.property.ExtendedBlockState.buildUnlistedMap(ExtendedBlockState.java:43) at net.minecraftforge.common.property.ExtendedBlockState.<init>(ExtendedBlockState.java:29) at de.medusalix.brickcraft.block.BlockDrawBridge.createBlockState(BlockDrawBridge.java:66) at net.minecraft.block.Block.<init>(Block.java:299) at de.medusalix.brickcraft.block.BlockBrC.<init>(BlockBrC.java:16) at de.medusalix.brickcraft.block.BlockDrawBridge.<init>(BlockDrawBridge.java:54) at de.medusalix.brickcraft.block.Blocks.<clinit>(Blocks.java:11) I've already added a breakpoint to the "buildUnlistedMap" function in ExtendedBlockState, and for some reason, the parameter called "unlistedProperties", which is passed to the function is always null. But that variable should contain my IUnlistedProperty array. I hope you can help me. ss7
  8. Hello, This might help you: http://www.minecraftforum.net/topic/1891837-forge-162how-to-make-a-boss-entity/ ss7
  9. Hello, I recently update Forge to 1.7.2 but now i don't know how to register item and blocks. Another problem is that the registerItemRenderer() method only takes Item as a parameter and not Block. Any help is greatly appreciated. ss7
  10. Hello, I'm having a big problem. I tried to set up the run configurations like GrygrFlzr said in his post but in the console tells me that it can't find the net.minecraft.launchwrapper.Launch class. Even if i click the search button it can't find the class. Any help is highly appreciated. ss7
  11. Hello, I've done everything GrygrFlzr said in his post called Getting Started with ForgeGradle. Everything works, but when i try to run Minecraft it says that the main class called net.minecraft.launchwrapper.Launch was not found. One more question: Where do i put my assets folder? Hope you can help me! ss7
  12. That was indeed the issue . My power system had a problem and i though this had something to do with it. Anyways, i got it working. SOLVED ss7
  13. Hello, Is their a function equivalent to breakBlock for the client side? Because i have a function that must be called both on the client and the server side. Can i use packets for this? I know how to send packets to the server but i don't know how to do this for the client. Can you help me? ss7
  14. Hello, OK, forget it, i looked at the class another time and I think it's impossible to do it without creating my own class.
  15. Hello, Is there a newline symbol that works for the FontRenderer like the "\n" symbol? Because I'm trying to render an Achievement with the GuiAchievement class, and the text is too long so I'd like to split it into 2 lines. I can change the private field "achievementWindowHeight" with reflection, but I can't split the text into 2 lines without copying the class and making my own one. I hope you can help! Thanks in advance! ss7
×
×
  • Create New...

Important Information

By using this site, you agree to our Privacy Policy.