Skip to content

Commit

Permalink
Fix #160
Browse files Browse the repository at this point in the history
  • Loading branch information
Edivad99 committed Jan 28, 2024
1 parent 922b98c commit c815bcb
Showing 1 changed file with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,14 +1,18 @@
package mods.railcraft.world.level.block.track.outfitted;

import java.util.Collections;
import java.util.List;
import java.util.function.Supplier;
import org.jetbrains.annotations.Nullable;
import mods.railcraft.api.track.TrackType;
import net.minecraft.core.BlockPos;
import net.minecraft.core.Direction;
import net.minecraft.world.entity.vehicle.AbstractMinecart;
import net.minecraft.world.item.ItemStack;
import net.minecraft.world.level.BlockGetter;
import net.minecraft.world.level.block.state.BlockState;
import net.minecraft.world.level.block.state.properties.RailShape;
import net.minecraft.world.level.storage.loot.LootParams;

public class JunctionTrackBlock extends OutfittedTrackBlock {

Expand All @@ -29,4 +33,9 @@ public RailShape getRailDirection(BlockState blockState, BlockGetter blockGetter
return RailShape.NORTH_SOUTH;
}
}

@Override
public List<ItemStack> getDrops(BlockState state, LootParams.Builder params) {
return Collections.emptyList();
}
}

0 comments on commit c815bcb

Please sign in to comment.