Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Draco18s

Members
  • Joined

  • Last visited

Everything posted by Draco18s

  1. You need to check that the property is equal to either BlockFacingHorizontal.FACING or BlockFacing.FACING
  2. My mistake. I misunderstood what that event was for.
  3. You should not need events in order to do things to your own blocks. IBlockColor should be able to do this
  4. Last time I messed with this the methods were hasComparatorInputOverride and getComparatorInputOverride. Check the chest, dispenser, and hopper for these methods. The latter takes a World, BlockPos, and IBlockState parameters and returns an int. Look also for Container.calcRedstoneFromInventory
  5. I am not understanding your question, your grammar is missing key words that would clarify your post. For example: "does stop" doing what?
  6. That would be stored in the block state. I'm sure a method called getValue will be of use.
  7. You haven't imported the class. Fix this and the other errors will probably go away.
  8. Stop. 1) MCreator is awful and terrible and bad and coded poorly and its results reflect that 2) MCreator is not Forge so why the hell are you asking us?
  9. event.getBlockState().getBlock() == Blocks.WHEAT
  10. Perfect, thanks. Was just curious what he was using that method for, and it looks fine. Not what I would do, but it looks fine. Mind, there still may be things he isn't doing in an acceptable manner, but I don't have time to go through all his videos trying to find them.
  11. We need to see more code. Namely: - Where you are calling this code - What parameters you are passing
  12. Which video? Your link goes to the playlist which starts on episode 1. I'd like to see what he's doing and if he's doing something wrong or something that's bad practice, I'd like to let him know.
  13. 1.7.10 is no longer supported here. Also, as a mod-user not a mod-maker, you should be over in Support & Bug Reports.
  14. cry

    Draco18s replied to matorassan's topic in Modder Support
    Its called "container item" because the item "minecraft:bucket" contains "minecraft:milk" so when you remove the "minecraft:milk" from the "minecraft:milk_bucket" you're left with the container item: "minecraft:bucket" So d7 knows what he's talking about here.
  15. Also, one thing doesn't look like another. I.e. compare the screenshot you shared with the toml file contents.
  16. Show a screenshot of your textures directory including full path.
  17. I believe you're looking for the IBlockColor interface.
  18. I'm not sure fences connect based on tags, but I haven't looked at it.
  19. The Ore Dict system was designed so that multiple mods that added "copper" could all use each other's ingots in their recipes (because why would IC2's copper not work in Thaumcraft?). But this got extended to wood, so that oak, birth, spruce, pine, redwood, willow, ceder, fir, etc. into "wood" for recipes that just wanted "wood." And it mutated from there. Different kinds of "sticks" or "seeds" or "wheat" or "corn" or any other thing you could ever want that someone else might've already made and you want to insure compatibility.
  20. You know what the Ore Dictionary is? Yes: congrats, now you understand tags No: go look it up Tags is, just about, the vanilla implementation of the Ore Dictionary system
  21. Do what, exactly? You've said that you have X working and that you don't know how to do Y, but haven't said what Y is
  22. Ok...so what's the problem?
  23. You need to register your TileEntity.
  24. ticksExisted is a field that stores the number of ticks the entity has existed. It's...pretty self-documenting.
  25. Yes. It is the % operator. Crops aren't entities, they're blocks. Plants are also crops and also blocks. In this case you can use the Player as the entity in question.

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.