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


  • Content Count

  • Joined

  • Last visited

Community Reputation

5 Neutral

About Zathrox

  • Rank
    Tree Puncher


  • Gender
  • Personal Text
    I am new!

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Thanks for that! Figured it out, might not be the cleanest way to implement it but I added this to my FMLCommonSetupEvent setup like this and it works: event.enqueueWork(() -> { ((FlowerPotBlock)Blocks.FLOWER_POT).addPlant(ExplorerBlocks.BAMBOO_SAPLING.getId(), ExplorerBlocks.POTTED_BAMBOO_SAPLING::get); });
  2. As mentioned in the title, I noticed that whenever I used the recommended method to initializing custom saplings/plants with the flower pot block, it never allows me to add said sapling to an empty pot but when I use the depreciated method it works perfectly. I also think this has been the case since its implementation, probably in 1.14? Now I may not fully understand or be utilizing the supplier/getters correctly either so I'll provide my code below just incase. This is my code below: public static final RegistryObject<Block> POTTED_BAMBOO_SAPLING = re
  3. Do we really need to register each block in the clientsetupevent that we want to be a transparent block? that seems horribly redundant from just adding a simple method to a base class like bush block or something! *edit* but after looking at rendertypelookup, it is indeed how vanilla does it! well I guess that's the new rendering engine for you
  4. As mentioned in the title, i'm in the process of updating of updating my mod to 1.15 from 1.14 and most of the blocks and stuff have ported over quite nicely, however, I noticed that all my non-solid blocks such as plants aren't rendering properly, when I evaluate the differences, 1.14 BushBlock has this line of code: public BlockRenderLayer getRenderLayer() { return BlockRenderLayer.CUTOUT; } but 1.15 BushBlock doesn't have anything regarding rendering and such, does anyone know how I can fix this? had a nose around and can't find anything in particular that'll get it to work!
  5. Thanks, that might actually work! Might be difficult for me to test but hopefully it works
  6. The zombie pigmen are just spawned as a spawn condition on the nether biome, aren't they? I'm not having a problem spawning them in the dimension, its adding additional checks to make sure that it is a particular dimension, so my mobs don't randomly spawn in say, a birch forest biome on a sky island in the sky dimension mod. this.addSpawn(EntityClassification.MONSTER, new SpawnListEntry(EntityType.ZOMBIE_PIGMAN, 100, 4, 4)); I'm basically, trying to clean up some of the bugs in my 1.14 version to make it more polished before working on my 1.15 version, so hopefully, someon
  7. As the title says, how would I go about checking the dimension and not just the biome from scratch ? I've had some users of my mod say a sky dimension was spawning my monsters in it because it used vanilla biomes in its generator, so I wanted to add a an additional check to my mob spawning conditions to make sure that its only the overworld/end/nether variants of the biomes and not random dimensions! My Entity Registration/Spawning Code public class ExplorerEntities { private static List<EntityType> entities = Lists.newArrayList(); private static List<Item>
  8. Ah thanks for this! I basically got the trades working after finding the VillagerTradesEvent myself and between looking at that and other peoples examples for the wandering trader, I got it working buuuuut for the trades, I practically ripped and copied the VillagerTrades class and made it public so finding the BasicTrade class is very useful to know! I can pretty much scrap my own and use that! Nevermind, will stick to my class, when they say basic trade, they really do mean basic! its good if you want to use emeralds to buy something like a sword or other items but not so much fo
  9. Hello there, has anyone figured out how to easily add new trades to existing villager trades? Like add a new crop to the farmer trades for example? I can see the villager traders hashmaps/array, etc but i'm not quite sure how to go about adding to that list correctly and get it registered and noticed by vanilla? if someone has the time to explain how to approach the problem I'd love to learn more about manipulating these so I can add new trades, that'd be amazing! *edit* Another issue I have is when I sort of copy the code to another class just to play about with adding, alot
  11. Updated to 2.2.7, added some ore-dict compatibility and tweaked various sounds for blocks under feedback, also added some creative mode only ocean items (couldn't get generation code working!)
  12. Last 3 updates have added final passes over the artwork on the gems, ores, tools in the game to new designs and consistent colouring's throughout
  13. Anyone able to help with this? Still stuck with what is causing the issue, from all the different variations i've done, can't seem to get it to work
  14. Hello everyone! I've noticed a few people struggling with this and also delved into the problem myself so I decided to make a little tutorial on my blog, hopefully explaining how to create foods in the latest version of minecraft! Checkout the tutorial here: Creating Custom Foods Hope this helps, Zathrox
  15. Hey guys, just throwing this out there to see if any of you guys can figure it out! Basically trying to create a new banner pattern, everything works well in terms of items generating, code loading etc, but when I put the banner pattern in the loom with a banner+dye, I get this error log: https://pastebin.com/J2fwkHA5 This is my item setup: BannerPatternItem(BannerPattern.create("welshflag", "welshflag", "welshflag",new ItemStack(ModItems.RUBY)), new Item.Properties().maxStackSize(1).group(ModItemGroups.MOD_ITEM_GROUP)), "welshflag_banner_pattern") with regards to my issue,
  • Create New...

Important Information

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