forked from P3pp3rF1y/SophisticatedStorageInMotion
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add dropping of minecart contents if it's not a shulker box
- Loading branch information
Showing
3 changed files
with
27 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 4 additions & 6 deletions
10
src/main/java/net/p3pp3rf1y/sophisticatedstorageinmotion/entity/IMovingStorageEntity.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,14 @@ | ||
package net.p3pp3rf1y.sophisticatedstorageinmotion.entity; | ||
|
||
import net.minecraft.world.item.Item; | ||
import net.minecraft.world.item.ItemStack; | ||
import net.minecraft.world.phys.Vec3; | ||
|
||
public interface IMovingStorageEntity { | ||
Vec3 position(); | ||
|
||
int getId(); | ||
|
||
ItemStack getStorageItem(); | ||
|
||
void setStorageItem(ItemStack storageItem); | ||
|
||
EntityStorageHolder getStorageHolder(); | ||
EntityStorageHolder<?> getStorageHolder(); | ||
|
||
Item getDropItem(); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters