Jump to content

Pingubro

Members
  • Posts

    72
  • Joined

  • Last visited

Everything posted by Pingubro

  1. Typo? you are looking for aurorablock the file name is auroralblock I dont know how you register but the unlocalizedname of your block is miss spelled
  2. Only copy paste the link pls. Not the HTML Tags to include it on your side Ok never mind. I figured it our myself. Maybe try the Snipping tool nextime and expand the block folder in your directory pls
  3. @Mystic4pheonix http://imgur.com/ try this side to upload. Just the project structure on the left of your IDE. EDIT: Expand all folders of your assets directory
  4. P.S. this log has nothing to do with your block not showing
  5. Caused by: java.io.FileNotFoundException: alcm:models/block/arouralblock.json at net.minecraft.client.resources.FallbackResourceManager.getResource(FallbackResourceManager.java:69) ~[FallbackResourceManager.class:?] at net.minecraft.client.resources.SimpleReloadableResourceManager.getResource(SimpleReloadableResourceManager.java:65) ~[SimpleReloadableResourceManager.class:?] at net.minecraft.client.renderer.block.model.ModelBakery.loadModel(ModelBakery.java:334) ~[ModelBakery.class:?] at net.minecraftforge.client.model.ModelLoader.access$1600(ModelLoader.java:126) ~[ModelLoader.class:?] at net.minecraftforge.client.model.ModelLoader$VanillaLoader.loadModel(ModelLoader.java:937) ~[ModelLoader$VanillaLoader.class:?] at net.minecraftforge.client.model.ModelLoaderRegistry.getModel(ModelLoaderRegistry.java:149) ~[ModelLoaderRegistry.class:?] at net.minecraftforge.client.model.ModelLoader$WeightedRandomModel.<init>(ModelLoader.java:777) ~[ModelLoader$WeightedRandomModel.class:?] at net.minecraftforge.client.model.ModelLoader$VariantLoader.loadModel(ModelLoader.java:1254) ~[ModelLoader$VariantLoader.class:?] at net.minecraftforge.client.model.ModelLoaderRegistry.getModel(ModelLoaderRegistry.java:149) ~[ModelLoaderRegistry.class:?] ... 21 more Maybe give us your folder structure, if not requested before
  6. Ok, thanks. This seems to high for me 1.) I can do normal Blockstates for Fluids. Am I wright? 2.) And how do they look, does somebody have an example? EDIT: Remapper of Choonster is this another possible solution without doing the IStaemapper?
  7. Hello, to get a start on Fluids I looked at the GitHub of Actually Additions and see how they do it. My question is how can they do it like this. They only have one Blockstate for all of their Fluids. My Fluid package Maybe I am just not understanding how it is done or they register a few more things then me.
  8. Hello, I have a question regarding NBT of ItemStacks. In my code in this line the NBT is always null even if I have captured a mob. I know I am not checking, but when I check it is null Maybe, somebody had the same issue as me and can help me out. And also are there things I should always do when writng NBT to things? Thanks, Pingubro
  9. Thank you very much now it works fine. I would have never come up with a solution myself I did not know about this.
  10. Ok I stepped through my code with prints... (dont know how to use IntelliJ properly) As mentioned the crafting works the setting of my Output works and the Output is the same after the current Tick. But in the next tick without doing everything my Output is empty again without modifying it in my code till I activate or breaking my Block. Is there a way to watch an Object in IntelliJ while debugging it showing me all operations done with my Object?
  11. ItemStack output = recipe.getOutput().copy(); So I did now but it still doesnt work the output is still empty. I cant get the Item from rigthclicking oder destroying my Block
  12. Yeah, I already thought about this but its regarding this Capability https://github.com/hnsdieter/FluxedThings2/blob/master/src/main/java/pingubro/fluxedthings/tileentity/TileCrystalCauldron.java#L27 https://github.com/hnsdieter/FluxedThings2/blob/master/src/main/java/pingubro/fluxedthings/tileentity/TileCrystalCauldron.java#L45 and both methods seem not to effect the contents
  13. So it is me again... I am trying to mimic ISided ness with two ItemStackHandlers. The guy which is only used internal for my stuff works just fine. But the second one used as output seems to delete its contents every tick or so. I tried debugging my Method it was working fine when I only debug one crafting cyclus but when I debbug every tick it seems to delete its contents straigth after 1 tick. My Block(performs setting of Inventory contents for Crafting ingredients) My TileEntity Maybe I made a dumb mistake but everything else is working as intended I can only not find the derp that deletes my InventoryContents. Thanks for helping me
  14. Hello, I have a new problem regarding BlockStates. Basically when I restart my world the Block is in the DefaultState but when I closed the world it was not. Maybe it is just me being dump and I overlooked something because I orriented my code very close to the Vanilla Cauldron. MyBlock
  15. Ok, I try to explain what I have investigated about the things diesieben7 said and what you are doing: 1. You use the FALSE event. You need to register/listen to the "WorldEvent.Load" and use getWorld(). Then you need to inject your IWorldEventListener using addEventListener. 2. You are getting Errors because you are implementing an Interface so you HAVE TO implement all given Methods. In your IWorldEventListener Class you are only overriding one Method. Not all Methods need a correct implementation only the ones you are using but you need to have the signatures in your Class. If you are using an IDE this should be easy to solve. I hope you can get your major mistakes now. P.S. dont quit now you may need to read and learn.
  16. The Model is basically a copied version of the Vanilla Cauldron: Model_Empty in the other ones the liquid is just replaced with a texture of the liquid.
  17. Try this Event: GetCollisionBoxesEvent ,as mentioned on Twitter it is a WorldEvent. Edit: Next time wait a bit more before writing.
  18. I changed that now: { "forge_marker": 1, "defaults": { "model": "fluxedthings:crystalcauldron_empty", "uvlock": true }, "variants": { "state": { "empty": { "model": "fluxedthings:crystalcauldron_empty" }, "lava": { "model": "fluxedthings:crystalcauldron_lava" }, "water": { "model": "fluxedthings:crystalcauldron_water" } }, "inventory": [ { "model": "fluxedthings:blockcrystalcauldron" } ] } } Now I get this error/crash: ErrorLog I dont know why because there is nothing about my code or files in there
  19. Ohh, did not check on that Event. And yes you need to register your EventClass in that case Crushing in your ModClass.
  20. Are you registering the Event? I can not see @SubscribeEvent in your posted code
  21. Hello, I have a problem regarding BlockStates. log Here is my BlockState and here is my Block. Thanks in advance Pingubro
  22. Please post your Classes where you use your EventHandler. Maybe you are just not registering your EventHandler. To achieve the functionality you want maybe look at createEntity or onEntityItemUpdate and override it in your Item Class.
×
×
  • Create New...

Important Information

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