Class EnterBedSystem
java.lang.Object
com.hypixel.hytale.component.system.System<EntityStore>
com.hypixel.hytale.component.system.RefChangeSystem<EntityStore,MountedComponent>
com.hypixel.hytale.builtin.beds.sleep.systems.player.EnterBedSystem
- All Implemented Interfaces:
ISystem<EntityStore>,QuerySystem<EntityStore>
-
Field Summary
FieldsFields inherited from interface com.hypixel.hytale.component.system.ISystem
EMPTY_ARRAY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcheck(Ref<EntityStore> ref, MountedComponent component, Store<EntityStore> store) private static MessageformatDuration(Duration duration) private static MessageformatTime(LocalTime time) private MessagegetMessage(CanSleepInWorld.Result result) getQuery()voidonComponentAdded(Ref<EntityStore> ref, MountedComponent component, Store<EntityStore> store, CommandBuffer<EntityStore> commandBuffer) voidonComponentRemoved(Ref<EntityStore> ref, MountedComponent component, Store<EntityStore> store, CommandBuffer<EntityStore> commandBuffer) voidonComponentSet(Ref<EntityStore> ref, MountedComponent oldComponent, MountedComponent newComponent, Store<EntityStore> store, CommandBuffer<EntityStore> commandBuffer) voidonEnterBed(Ref<EntityStore> ref, Store<EntityStore> store) Methods inherited from class com.hypixel.hytale.component.system.System
getComponentRegistrations, getResourceRegistrations, registerComponent, registerComponent, registerComponent, registerResource, registerResourceMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.hypixel.hytale.component.system.ISystem
getDependencies, getGroup, onSystemRegistered, onSystemUnregisteredMethods inherited from interface com.hypixel.hytale.component.system.QuerySystem
test
-
Field Details
-
QUERY
-
-
Constructor Details
-
EnterBedSystem
public EnterBedSystem()
-
-
Method Details
-
componentType
- Specified by:
componentTypein classRefChangeSystem<EntityStore,MountedComponent>
-
getQuery
-
onComponentAdded
public void onComponentAdded(@NonNullDecl Ref<EntityStore> ref, @NonNullDecl MountedComponent component, @NonNullDecl Store<EntityStore> store, @NonNullDecl CommandBuffer<EntityStore> commandBuffer) - Specified by:
onComponentAddedin classRefChangeSystem<EntityStore,MountedComponent>
-
onComponentSet
public void onComponentSet(@NonNullDecl Ref<EntityStore> ref, @NullableDecl MountedComponent oldComponent, @NonNullDecl MountedComponent newComponent, @NonNullDecl Store<EntityStore> store, @NonNullDecl CommandBuffer<EntityStore> commandBuffer) - Specified by:
onComponentSetin classRefChangeSystem<EntityStore,MountedComponent>
-
onComponentRemoved
public void onComponentRemoved(@NonNullDecl Ref<EntityStore> ref, @NonNullDecl MountedComponent component, @NonNullDecl Store<EntityStore> store, @NonNullDecl CommandBuffer<EntityStore> commandBuffer) - Specified by:
onComponentRemovedin classRefChangeSystem<EntityStore,MountedComponent>
-
check
-
onEnterBed
-
getMessage
-
formatTime
-
formatDuration
-