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


  • Content Count

  • Joined

  • Last visited

Community Reputation

0 Neutral

About JoppeGames3

  • Rank
    Tree Puncher
  1. this is the BlockClass: package com.joppegames1.tvstudio.common.blocks; import net.minecraft.block.AbstractBlock; import net.minecraft.block.Block; import net.minecraft.block.BlockState; import net.minecraft.item.BlockItemUseContext; import net.minecraft.state.DirectionProperty; import net.minecraft.state.StateContainer; import net.minecraft.state.properties.BlockStateProperties; import net.minecraft.util.Direction; import net.minecraft.util.Mirror; import net.minecraft.util.Rotation; import net.minecraft.util.math.BlockPos; import net.minecraft.util.math.shapes.IBooleanFunction; import n
  2. It is true, when I delete them it runs fast...
  3. is there a way to register multiple variants of one block so that instead of 16 lines like this: public static final RegistryObject<Block> WHITE_STUDIO_LIGHT = BLOCKS.register("white_studio_light", () -> new StudioLight(Block.Properties.create(Material.ROCK).hardnessAndResistance(0f, 0f).sound(SoundType.METAL).setLightLevel((state) -> {return 15;}))); public static final RegistryObject<Block> ORANGE_STUDIO_LIGHT = BLOCKS.register("orange_studio_light", () -> new StudioLight(Block.Properties.create(Material.ROCK).hardnessAndResistance(0f, 0f).sound(SoundType.METAL).se
  4. anyone knows a tutorial on how to create vehicles or wants to explain it here?
  5. how to make custom tags, so not add to one already existing but make your own. and how to implement them in recipes
  6. I meant same rotation.. what do I have to check and how to replace it with another block
  7. how to check what block gets right clicked by your item, and then replace it to another block, but with the same blockstate as the first block? I know I have to use the "onItemUse" method but don't know what to put after the 'if' this is what I got so far.... public ActionResultType onItemUse(ItemUseContext context) { World world = context.getWorld(); BlockPos blockpos = context.getPos(); BlockState blockstate = world.getBlockState(blockpos); BlockState block = blockstate.getBlockState(); if (block != null) {
  8. how to add my own on and off model there?
  9. well, the LIT part confuses me, the rest I can understand
  10. Yeah, I looked at the Redstone lamp class but this: [removed vanilla code] doesn't help me with creating my own Redstone lamp
  • Create New...

Important Information

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