Jump to content

Kikoz

Members
  • Posts

    52
  • Joined

  • Last visited

Recent Profile Visitors

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

Kikoz's Achievements

Stone Miner

Stone Miner (3/8)

0

Reputation

  1. For example the previous states were four booleans (North,East...) and now I removed those and made a part enum which has 3 parts ( single, left, right ). And now as that changed I would like the already placed blocks in older versions to update in the newer version, Thanks!
  2. Hello, I'm trying to make all of the modded blocks to update their states once, or have a conversion for the blockstates. Meaning I have a saved world with the old blockstates, and now in the newer update on which I'm working the states have been changed to work the same but more effective (lower state count). Basically so players could just update to the newer version and their stuff would not break just update/convert... What would be the best approach for this?
  3. Hi there! I've recently found out that when you have a very thin voxelshape like Block.box(0, 0, 0, 16, 2, 16) The step sound is going to be the block underneath it. Even blocks like carpet, trapdoors, rails have this issue. Is there any workaround for this, so I can have the material sound I need?
  4. Allright managed to get it work by using .setLightLevel((lightLevel) -> 15)
  5. Hi! I created a light emitting block which works when I'm not using optifine. After I run it with optifine the block is not emitting any light. Could someone help me how to solve it? Thanks! public LightModel(Properties properties) { super(Properties.create(Material.WOOD) .sound(SoundType.WOOD) .hardnessAndResistance(3.0f,3.0f) .notSolid() ); this.setDefaultState(this.stateContainer.getBaseState().with(LIT, Boolean.valueOf(true)).with(WATERLOGGED, Boolean.valueOf(false))); } public int getLightValue(BlockState state, IBlockReader world, BlockPos pos) { Boolean i = state.get(LIT); if (i == true) { return 15; } else { return 0; } } public ActionResultType onBlockActivated(BlockState state, World worldIn, BlockPos pos, PlayerEntity player, Hand handIn, BlockRayTraceResult hit) { { if (Screen.hasShiftDown() == true) { state = state.func_235896_a_(LIT); worldIn.setBlockState(pos, state, 10); } else { return ActionResultType.PASS; } } return ActionResultType.func_233537_a_(worldIn.isRemote); }
  6. Is it possible to allow a custom door to attach to glass panes/ iron bars? If yes, how exactly?
  7. Basically all I want to do is, you have 2 blocks placed next to each other. A Chest and a special block, if you right click on the chest it opens it and if you click on the special block it opens the chest next to it. Is there any way of doing that feature for the special block?
  8. Hello, is there a bookshelf method which makes it work with the Enchantment Table? Thanks!
  9. I just don't get it why it works in 1.16.2 but not in the newest. Thanks for your reply.
  10. Hello! I updated my mappings from 1.16.2 to 1.16.4 and I'm not able to run the client. Any help is welcome, thanks! error: DoubleBlockTypes is not abstract and does not override abstract method getString() in IStringSerializable public enum DoubleBlockTypes implements IStringSerializable ^ Note: Some input files use or override a deprecated API. Note: Recompile with -Xlint:deprecation for details. 1 error > Task :compileJava FAILED FAILURE: Build failed with an exception. import net.minecraft.util.IStringSerializable; public enum DoubleBlockTypes implements IStringSerializable { TOP("top"), BOTTOM("bottom"); private final String name; DoubleBlockTypes(String name) { this.name = name; } public String func_176610_l() { return this.name; } }
  11. For some reason when I made custom doors by extending DoorBlock villagers are unable to open them.
  12. Hello! I'm trying to make a custom model with glass. The issue is that when I place it next to a wall, then I can see through the wall just like an x-ray. Can someone help me please?
×
×
  • Create New...

Important Information

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