Change ItemMultipart -> MultipartItem
This commit is contained in:
parent
c7a3d16920
commit
d411a15bba
|
@ -20,11 +20,11 @@ import net.shadowfacts.simplemultipart.util.MultipartPlacementContext;
|
|||
* @author shadowfacts
|
||||
* @since 0.1.0
|
||||
*/
|
||||
public class ItemMultipart extends Item {
|
||||
public class MultipartItem extends Item {
|
||||
|
||||
protected Multipart part;
|
||||
|
||||
public ItemMultipart(Multipart part) {
|
||||
public MultipartItem(Multipart part) {
|
||||
// TODO: expose settings object?
|
||||
super(new Settings());
|
||||
this.part = part;
|
|
@ -5,7 +5,7 @@ import net.minecraft.item.Item;
|
|||
import net.minecraft.util.Identifier;
|
||||
import net.minecraft.util.registry.Registry;
|
||||
import net.shadowfacts.simplemultipart.SimpleMultipart;
|
||||
import net.shadowfacts.simplemultipart.item.ItemMultipart;
|
||||
import net.shadowfacts.simplemultipart.item.MultipartItem;
|
||||
import net.shadowfacts.simplemultipart.multipart.Multipart;
|
||||
|
||||
/**
|
||||
|
@ -21,11 +21,11 @@ public class MultipartTestMod implements ModInitializer {
|
|||
public static final EntityTestPart entityTest = new EntityTestPart();
|
||||
public static final TickableEntityTestPart tickableEntityTest = new TickableEntityTestPart();
|
||||
|
||||
public static final ItemMultipart testItem = new ItemMultipart(testPart);
|
||||
public static final ItemMultipart ironSlabItem = new ItemMultipart(ironSlab);
|
||||
public static final ItemMultipart goldSlabItem = new ItemMultipart(goldSlab);
|
||||
public static final ItemMultipart entityTestItem = new ItemMultipart(entityTest);
|
||||
public static final ItemMultipart tickableEntityTestItem = new ItemMultipart(tickableEntityTest);
|
||||
public static final MultipartItem testItem = new MultipartItem(testPart);
|
||||
public static final MultipartItem ironSlabItem = new MultipartItem(ironSlab);
|
||||
public static final MultipartItem goldSlabItem = new MultipartItem(goldSlab);
|
||||
public static final MultipartItem entityTestItem = new MultipartItem(entityTest);
|
||||
public static final MultipartItem tickableEntityTestItem = new MultipartItem(tickableEntityTest);
|
||||
|
||||
@Override
|
||||
public void onInitialize() {
|
||||
|
|
Loading…
Reference in New Issue