IntelliJ Build Suddenly Failing
-
Recently Browsing
- No registered users viewing this page.
-
Posts
-
By REMIZERexe · Posted
// ----------------- MY CRAFTING TABLE BLOCK CLASS ------------------------------ public class WhiteCraftingTableBlock extends Block { public static final DirectionProperty FACING = BlockStateProperties.HORIZONTAL_FACING; private static final Component CONTAINER_TITLE = new TranslatableComponent("container.crafting"); public WhiteCraftingTableBlock(Properties p_49795_) { super(p_49795_); } @Override public InteractionResult use(BlockState p_52233_, Level p_52234_, BlockPos p_52235_, Player p_52236_, InteractionHand p_52237_, BlockHitResult p_52238_) { if (p_52234_.isClientSide) { return InteractionResult.SUCCESS; } else { p_52236_.openMenu(p_52233_.getMenuProvider(p_52234_, p_52235_)); p_52236_.awardStat(Stats.INTERACT_WITH_CRAFTING_TABLE); return InteractionResult.CONSUME; } } @Override public BlockState getStateForPlacement(BlockPlaceContext pContext) { return this.defaultBlockState().setValue(FACING, pContext.getHorizontalDirection().getOpposite()); } @Override public BlockState rotate(BlockState pState, Rotation pRotation) { return pState.setValue(FACING, pRotation.rotate(pState.getValue(FACING))); } @Override public BlockState mirror(BlockState pState, Mirror pMirror) { return pState.rotate(pMirror.getRotation(pState.getValue(FACING))); } @Override protected void createBlockStateDefinition(StateDefinition.Builder<Block, BlockState> pBuilder) { pBuilder.add(FACING); } @Override public MenuProvider getMenuProvider(BlockState p_52240_, Level p_52241_, BlockPos p_52242_) { return new SimpleMenuProvider((p_52229_, p_52230_, p_52231_) -> new CraftingMenu(p_52229_, p_52230_, ContainerLevelAccess.create(p_52241_, p_52242_)), CONTAINER_TITLE); } } -
By vinnyg0621 · Posted
someone help me PLEASE...... -
By TileEntity · Posted
This is a warning and can be ignored - add the new crash or log -
By TileEntity · Posted
Also make a test without Repurposed Structures and/or IDAS (Integrated Dungeons and Structures) -
Sorry for the late response, but the game opened and I made a world but it's stuck at 0% Here's the latest.log https://mclo.gs/peEb1R8 I disabled The Factory Must Grow and soulsweapons
-
-
Topics
-
Who's Online (See full list)
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.