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.

Egietje

Forge Modder
  • Joined

  • Last visited

Everything posted by Egietje

  1. Egietje replied to a post in a topic in Site News (non-forge)
    Everybody is unbanned? At least I am... I guess jay?
  2. You have to create different items, but you can just use the same class for them Fluffy je bent terug bij het modden
  3. Check out DiscultGA on youtube
  4. Does it work in your minecraft?
  5. Why is it a zip file?
  6. And how does the lava do it? I looked in the BlockLiquid class and there is a getPackedLightmapCoords but I can't find anywhere it is being called or something so..
  7. It already is seperate..?
  8. But what about this:
  9. Hello, I want to make a torch that emits a yellow light, but how can I do this?
  10. I can generate structures, but don't know how to do that
  11. https://www.youtube.com/channel/UCxuHcS9pMkJ-3URky1aWDTg He has a video about it
  12. I have no idea how to do that
  13. With that I mean custom crops in village farmlands
  14. And how can I set custom plants to spawn in any biome?
  15. Hello, I want to know how to make villages generate in my custom biome
  16. Hello, I have a custom loot table for a chest in a structure but when I open the chest there is nothing in there, here is the file { "pools": [ { "name":"cheese_chest", "rolls": { "min": 2, "max": 8 }, "entries": [ { "type": "item", "name": "dgm:cheese", "weight": 15, "functions": [ { "function": "minecraft:set_count", "count": { "min": 3, "max": 7 } } ] }, { "type": "item", "name": "dgm:cooked_cheese", "weight": 5, "functions": [ { "function": "minecraft:set_count", "count": { "min": 1, "max": 2 } } ] }, { "type": "item", "name": "dgm:cheese_axe", "weight": 2 }, { "type": "item", "name": "dgm:cheese_ingot", "weight": 10 }, { "type": "item", "name": "dgm:cheese_multitool", "weight": 1 }, { "type": "item", "name": "dgm:cheese_seeds", "weight": 10, "functions": [ { "function": "minecraft:set_count", "count": { "min": 2, "max": 3 } } ] } ] }, { "rolls": 1, "entries": [ { "type": "item", "name": "dgm:cheese_apple", "weight": 1 } ] } ] }
  17. The (vanilla) grass is working but the leaves aren't My custom grass doesn't have to be colored
  18. package com.Egietje.degeweldigemod.biome; import java.util.Random; import com.Egietje.degeweldigemod.entities.cheesecow.EntityCheeseCow; import com.Egietje.degeweldigemod.init.CheeseBlocks; import net.minecraft.block.BlockDoublePlant; import net.minecraft.block.BlockFlower; import net.minecraft.block.state.IBlockState; import net.minecraft.entity.passive.EntityHorse; import net.minecraft.init.Biomes; import net.minecraft.util.math.BlockPos; import net.minecraft.world.World; import net.minecraft.world.biome.Biome; import net.minecraft.world.gen.feature.WorldGenAbstractTree; import net.minecraftforge.fml.relauncher.Side; import net.minecraftforge.fml.relauncher.SideOnly; public class BiomeCheese extends Biome { public BiomeCheese(Biome.BiomeProperties properties) { super(properties); this.spawnableCreatureList.add(new Biome.SpawnListEntry(EntityCheeseCow.class, 8, 4, 4)); this.theBiomeDecorator.treesPerChunk = 1; this.theBiomeDecorator.field_189870_A = 0.05F; this.theBiomeDecorator.flowersPerChunk = 5; this.theBiomeDecorator.grassPerChunk = 7; this.topBlock = CheeseBlocks.CHEESE_GRASS.getDefaultState(); this.fillerBlock = CheeseBlocks.CHEESE_DIRT.getDefaultState(); } @Override public int getGrassColorAtPos(BlockPos pos) { return 0xD6FF42; } @Override public int getFoliageColorAtPos(BlockPos pos) { return 0xD6FF42; } public BlockFlower.EnumFlowerType pickRandomFlower(Random rand, BlockPos pos) { double d0 = GRASS_COLOR_NOISE.getValue((double) pos.getX() / 200.0D, (double) pos.getZ() / 200.0D); if (d0 < -0.8D) { int j = rand.nextInt(4); switch (j) { case 0: return BlockFlower.EnumFlowerType.ORANGE_TULIP; case 1: return BlockFlower.EnumFlowerType.RED_TULIP; case 2: return BlockFlower.EnumFlowerType.PINK_TULIP; case 3: default: return BlockFlower.EnumFlowerType.WHITE_TULIP; } } else if (rand.nextInt(3) > 0) { int i = rand.nextInt(3); return i == 0 ? BlockFlower.EnumFlowerType.POPPY : (i == 1 ? BlockFlower.EnumFlowerType.HOUSTONIA : BlockFlower.EnumFlowerType.OXEYE_DAISY); } else { return BlockFlower.EnumFlowerType.DANDELION; } } public void decorate(World worldIn, Random rand, BlockPos pos) { double d0 = GRASS_COLOR_NOISE.getValue((double) (pos.getX() + / 200.0D, (double) (pos.getZ() + / 200.0D); if (d0 < -0.8D) { this.theBiomeDecorator.flowersPerChunk = 15; this.theBiomeDecorator.grassPerChunk = 5; } else { this.theBiomeDecorator.flowersPerChunk = 4; this.theBiomeDecorator.grassPerChunk = 10; DOUBLE_PLANT_GENERATOR.setPlantType(BlockDoublePlant.EnumPlantType.GRASS); for (int i = 0; i < 7; ++i) { int j = rand.nextInt(16) + 8; int k = rand.nextInt(16) + 8; int l = rand.nextInt(worldIn.getHeight(pos.add(j, 0, k)).getY() + 32); DOUBLE_PLANT_GENERATOR.generate(worldIn, rand, pos.add(j, l, k)); } } super.decorate(worldIn, rand, pos); } @Override public void addDefaultFlowers() { BlockFlower red = net.minecraft.init.Blocks.RED_FLOWER; BlockFlower yel = net.minecraft.init.Blocks.YELLOW_FLOWER; addFlower(red.getDefaultState().withProperty(red.getTypeProperty(), BlockFlower.EnumFlowerType.ORANGE_TULIP), 3); addFlower(red.getDefaultState().withProperty(red.getTypeProperty(), BlockFlower.EnumFlowerType.RED_TULIP), 3); addFlower(red.getDefaultState().withProperty(red.getTypeProperty(), BlockFlower.EnumFlowerType.PINK_TULIP), 3); addFlower(red.getDefaultState().withProperty(red.getTypeProperty(), BlockFlower.EnumFlowerType.WHITE_TULIP), 3); addFlower(red.getDefaultState().withProperty(red.getTypeProperty(), BlockFlower.EnumFlowerType.POPPY), 20); addFlower(red.getDefaultState().withProperty(red.getTypeProperty(), BlockFlower.EnumFlowerType.HOUSTONIA), 20); addFlower(red.getDefaultState().withProperty(red.getTypeProperty(), BlockFlower.EnumFlowerType.OXEYE_DAISY), 20); addFlower(yel.getDefaultState().withProperty(yel.getTypeProperty(), BlockFlower.EnumFlowerType.DANDELION), 30); } public WorldGenAbstractTree genBigTreeChance(Random rand) { return (WorldGenAbstractTree) (rand.nextInt(3) == 0 ? BIG_TREE_FEATURE : TREE_FEATURE); } } It has a custom grass block so I now I'm in my biome
  19. How do I change the color of leaves?
  20. Hello, as the title suggests I want to make a custom grass block but I can't get the flowers to be placed on it to work and I want to know if it is even possible doing this...

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.