Jump to content

TheRPGAdventurer

Members
  • Posts

    642
  • Joined

  • Last visited

Everything posted by TheRPGAdventurer

  1. Do I still have to use the GameRegistry Forge Method?
  2. So you mean like the onInitialSpawn will set what breeds to use and then forge will now use it instead of using the default breed?
  3. Ok here's my problem, My dragon has a main class called EntityTameableDragon, and it is separated into 6 different breeds Sapphire,Jade,Amethyst,END(ender dragon) the nether dragon is one of them, and each breed has it's own class, and all the breeds has an enum called EnumDragonBreed.class, much like the skeleton, The problem is when I use the code below, it just spawns it with the default breed called END which is the ender dragon, what I want to achieve is to spawn the "gem" type dragons in the overworld extreme hills and spawn the nether dragon in the nether and the end can only be obtained by killing the ender dragon(vanilla) and hatching the dragon egg. this mod is not really mine, it's from dragon mounts mod and I'm trying to revive it. EntityRegistry.addSpawn(EntityTameableDragon.class, 1.0f, 1, 3, EnumCreatureType.MONSTER, Biomes.HELL);
  4. Question, how do skeletons handle it's spawning, cause wither skeletons and ordinary skeletons are spawned in different Dimensions. Does Minecraft have a main class also?
  5. Where do I put these btw, is it in the nether dragon class or in the main mod class?
  6. It worked but I have another problem, How do I spawn my dragon with property, because when I spawn my dragon in extreme hills using GameRegistry, It spawn in the extreme hills but it just sets it to a default breed state which is (END or ender dragon) and It's just weird seeing enderdragons in the overworld. https://pastebin.com/n8vSFvaf
  7. I have made a nether dragon and it is immune to fire lava magma blocks, But I want it to have a regeneration effect when it is on lava.
  8. Can you please make it simple, what class do I have to edit, what method or show the exact method(if possible). I'm still a newbie tho.
  9. Ok so here is my problem, I have a dragon egg block and it has different types per dragon breed (ruby, sapphire etc.)https://pastebin.com/CqAxD9L8, I have made a dragon nest structure and in the middle is the dragon egg, I want to generate my nest structure and make my dragon egg spawn with different breeds, I tried making 5 different independent structures one by one with different egg breeds in extreme hills biome, but it made it just too common everywhere. So my idea is to make just one structure but make the egg in the middle with a random breed and that's what I have problem with. https://pastebin.com/mgz65BU9
  10. I'm just curious because when I was figuring how fossils spawn and I can't see any method that makes it spawn in a specific biome.
  11. Also the head rotation was a glitch in minecraft itself see https://bugs.mojang.com/browse/MC-11141 it was fixed in 1.12 they say I dunno!
  12. Edit: just fixed it! just change it to updatePassenger!
  13. Hello Forge I currently trying to fix the rider's position in the dragon, the rider should be in the dragon's shoulder, basically my mod is just a modified version of another called Dragon Mounts, the allows us to have the source codes just as long as we tell users that it is his mod but we just edited it a bit and that's what I did. It is imple in 1.7.10 because of the updateRiderPosition Method but now in 1.10.2 it is now gone, the original mod's source code is here : https://github.com/ata4/dragon-mounts. Is there a way to fix the rider's position cause if not I get this weird glitch
  14. I have pile of stick blocks but I want it to drop stick items not itself also this.entityDropItem(new ItemStack(Item.getItemFromBlock(Blocks.WOOL), 1, this.getFleeceColor().getMetadata()), 1.0F); I have a mob and I want it shearable but it has this method getItemFromBlock but the thing I want my mob to drop is an actual item not a block.
  15. I have a block I set it's material type to WOOD but it doesn't seem to be flammable what did I do wrong?
  16. I did it the same thing right after you commented but thanks for letting know the other players.
  17. worldIn.setBlockState(new BlockPos(x+1,y+0,z+3), Blocks.DIRT.getDefaultState().withProperty(BlockDirt.DirtType.COARSE_DIRT, value)); what do I put in value? when I remove it gives me an error.
  18. Previously I tried to use .nbt files with structure_spawners but I think I gotta start with the basics by using .java files, I want to use coarse dirt as a part of my structure but it doesn't appear on blocks.class, maybe I have to set the data Idk that's why I need help, here is the method I use to add each block on place: worldIn.setBlockState(new BlockPos(x+1,y+0,z+3), Blocks.DIRT.getStateFromMeta(0));
  19. Ok so this gonna be my last post here, the structure is not spawning and the debugs ain't showing anything.
  20. Hello again! Sorry to bug you again but what do you think is wrong with this? https://pastebin.com/j2Xd6xMM
  21. you mean the witch hut, (Sorry I thought you meant the witch hut structure but it was in fact @myWitch)
×
×
  • Create New...

Important Information

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